import request from '@/utils/request'

// 查询指导教师存放表列表
export function listInstructor(query) {
  return request({
    url: '/project/instructor/list',
    method: 'get',
    params: query
  })
}

// 查询指导教师存放表详细
export function getInstructor(id) {
  return request({
    url: '/project/instructor/' + id,
    method: 'get'
  })
}

// 新增指导教师存放表
export function addInstructor(data) {
  return request({
    url: '/project/instructor',
    method: 'post',
    data: data
  })
}

// 修改指导教师存放表
export function updateInstructor(data) {
  return request({
    url: '/project/instructor',
    method: 'put',
    data: data
  })
}

// 删除指导教师存放表
export function delInstructor(id) {
  return request({
    url: '/project/instructor/' + id,
    method: 'delete'
  })
}
